package com.ruoyi.community.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class OwnerInfoCardForApp {

    // 业委会三种信息类型：信息公告、投票、活动
    private Integer type;

    private String id;

    private String title;

    private String preview;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date time;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPreview() {
        return preview;
    }

    public void setPreview(String preview) {
        this.preview = preview;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
